WcGetnet\Services\WcGetnetApi A

Total Complexity 68
Dependencies 9
Dependents 7
Total lines 482
Lines of code 282
Logical lines of code 131
Comment lines 103
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
get_webhook_args()
A
49 10 32
handle_pix_headers()
S
56 7 18
is_valid_payment()
S
54 6 21
check_api_credentials()
S
62 4 13
send_request_post()
S
55 3 20
send_request_post_v2()
S
54 3 20
process_webhook()
S
67 4 7
get_header()
S
59 3 14
process_another_types()
S
60 3 13
is_hpos_enabled()
S
63 3 12
build_admin_message_api_credentials_if_empty()
S
65 2 11
get_wp_query_args()
S
59 1 16
create_meta_header_endpoint_order()
S
63 2 10
process_billet_payment_step_2()
S
63 2 10
get_order_by_billet_id()
S
72 2 6
is_hpos_available()
S
76 2 4
find_order_by_billet_id_with_hpos()
S
74 2 4
__construct()
S
67 1 7
get_environment_url()
S
75 1 4
getAntifraudUrl()
S
75 1 4
get_selected_environment()
S
80 1 3
getDefaultResponse()
S
65 1 9
check_payment_type()
S
79 1 3
find_order_by_billet_id_with_wp_query()
S
75 1 4
get_hpos_query_args()
S
65 1 9
get_billet_meta_query_args()
S
69 1 8